@import url("../../plugs/layui/css/layui.css");
@import url("../../plugs/font-awesome/css/font-awesome.min.css");
@import url("../css/iconfont.css");
@import url("../css/color.css");
@import url("../css/themes/index.css");
@import url("../css/gougu.css");
html,
body {
    height: 100%;
    background: #ffffff;
}

.layuimini-container {
    min-height: 250px;
    padding: 15px;
    margin-right: auto;
    margin-left: auto;
}

.layuimini-main {
    position: relative;
    padding: 15px 15px;
    background-color: #ffffff;
    border: 1px solid #f2f2f2;
    border-radius: 5px;
}


/**table搜索样式*/
.layuimini-container .table-search-fieldset {
    margin: 0;
    border: 1px solid #e6e6e6;
    padding: 10px 20px 5px 20px;
    color: #6b6b6b;
}

.layuimini-container .table-search-fieldset input::-webkit-input-placeholder {
    color: #a9a9a9;
}

.layuimini-container .table-search-fieldset input:-ms-input-placeholder {
    color: #a9a9a9;
}

.layuimini-container .table-search-fieldset input::-ms-input-placeholder {
    color: #a9a9a9;
}

.form-search .layui-btn {
    height: 32px;
    line-height: 32px;
    padding: 0 10px;
    font-size: 12px;
}

.form-search .layui-form-label {
    height: 32px;
    line-height: 32px;
    padding: 0 8px;
}

.form-search .layui-input-inline {
    width: 170px;
}

.form-search .layui-input-inline input,
.form-search .layui-input-inline select {
    width: 100%;
    height: 32px;
    line-height: 32px;
    padding: 2px 8px;
}

.form-search .layui-input-affix {
    line-height: 32px;
}

.form-search .layui-form-select dl {
    top: 36px;
    padding: 0;
}

.form-search xm-select {
    width: 170px;
    box-sizing: border-box;
    margin: 0 !important;
}

.form-search xm-select:hover {
    border-color: #d2d2d2;
}

.form-search xm-select > .xm-tips {
    padding: 0 8px;
}

.form-search xm-select > .xm-label .xm-label-block {
    margin: 1px 5px 2px 0;
}


/**table样式*/
.layuimini-container .layui-table-cell {
    height: 100%;
    max-width: 100%;
}

.layuimini-container .layui-laypage .layui-laypage-curr .layui-laypage-em {
    border-radius: 30px !important;
    background-color: #1e9fff !important;
}

.layuimini-container .layui-table-tool {
    background-color: #ffffff;
    border-bottom: none !important;
    padding-bottom: 15px !important;
}

.layuimini-container .layui-table-view {
    border: none !important;
}

.layuimini-container .layui-table-box {
    border-width: 1px;
    border-style: solid;
    border-color: #e6e6e6;
}

.layuimini-container .layui-table-page,
.layui-table-total {
    border-width: 0 0 0;
}

.layuimini-container .layui-table-box .layui-table-header th {
    font-weight: bold !important;
    color: #565656 !important;
}


/**form样式*/
.layuimini-form {
    margin-top: 10px;
}

.layuimini-form .layui-form-item {
    position: relative;
    padding: 0 60px 0 0;
    line-height: 24px;
}

.layuimini-form .layui-form-item .required:after {
    content: '*';
    color: red;
    position: absolute;
    margin-left: 4px;
    font-weight: bold;
    line-height: 1.8em;
    top: 6px;
    right: 5px;
}

.layuimini-form .layui-form-item .layui-form-label {
    width: 100px;
}

.layuimini-form .layui-form-item .layui-input-block {
    margin-left: 130px;
}

.layuimini-form .layui-form-item > .layui-input-block tip,
.layuimini-form .layui-form-item > .layui-inline tip {
    display: inline-block;
    margin-top: 10px;
    line-height: 15px;
    font-size: 10px;
    color: #a29c9c;
}

.text-center {
    text-align: center;
}

.hr-line {
    color: #fff;
    height: 1px;
    margin: 30px 0;
    background-color: #fff;
    border-top: 1px dashed #e7eaec;
}


/**文件上传样式*/
.layuimini-upload {
    position: relative;
}

.layuimini-upload .layuimini-upload-btn {
    display: inline-block;
    position: absolute;
    top: 0;
    right: 0;
    background-color: #fff;
}

.layuimini-upload-show {
    margin-top: 10px;
    margin-bottom: 0;
}

.layuimini-upload-show li {
    position: relative;
    display: inline-block;
    padding: 5px 10px;
    border: 1px solid #e2e2e2;
}

.layuimini-upload-show li img {
    height: 80px;
    object-fit: cover;
}

.layuimini-upload-show .uploads-delete-tip {
    position: absolute;
    right: 10px;
    font-size: 12px;
    cursor: pointer;
}

.bg-red {
    background-color: #e74c3c !important;
}

.color-red {
    color: #e74c3c !important;
}

.badge {
    display: inline-block;
    min-width: 10px;
    padding: 3px 7px;
    font-size: 11px;
    font-weight: bold;
    color: #fff;
    line-height: 1;
    vertical-align: middle;
    white-space: nowrap;
    text-align: center;
    background-color: #777777;
    border-radius: 10px;
}


/**按钮样式*/
.layuimini-container .layuimini-btn-success {
    color: #fff;
    background-color: #16b777;
    border-color: #16b777;
}

.layuimini-container .layuimini-btn-danger {
    color: #fff;
    background-color: #f56c6c;
    border-color: #f56c6c;
}

.layuimini-container .layuimini-btn-primary {
    color: #fff;
    background-color: #2c3e50;
}

.layuimini-container .layui-btn-sm i {
    font-size: 12px !important;
}

.layuimini-container .layui-table-tool .layui-btn + .layui-btn {
    margin-left: 5px;
}

.layuimini-container .layui-table-tool .layui-inline[lay-event] {
    width: 30px;
    height: 30px;
    line-height: 30px;
    padding: 0;
}

.layuimini-container .layui-table-tool .layui-inline .layui-icon {
    font-size: 16px;
}

.layuimini-container .layui-table-tool-self {
    right: 0;
}

.layuimini-container .layui-table-tool {
    padding: 10px 0;
}


/**vue隐藏样式*/
[v-cloak] {
    display: none;
}


/**表格text样式*/
.line-limit-length {
    width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    background: goldenrod;
    white-space: nowrap;
}


/**表格url样式*/
.layuimini-table-url {
    background-color: #1497f3;
    color: #ffffff;
    border-radius: 3px;
    size: 8px !important;
    padding: 2px
}

.layuimini-table-url:hover {
    background-color: #1497f3;
    color: #ffffff;
    border-radius: 3px;
    size: 8px !important;
    padding: 2px
}


/**响应式样式*/
@media screen and (max-width: 1024px) {
    .layuimini-form .layui-form-item {
        position: relative;
        padding: 0 30px 0 0;
        line-height: 24px;
    }
}

/*超小屏幕*/
@media screen and (max-width: 768px) {
    .layuimini-container .easyadmin-export-btn {
        display: none;
    }

    /*表单*/
    .layuimini-form > .layui-form-item .layui-form-label {
        float: unset;
        text-align: left;
    }

    .layuimini-form > .layui-form-item .required:after {
        right: unset;
        left: 0;
        margin-left: 0;
    }

    .layuimini-form > .layui-form-item .layui-input-block {
        margin-left: 0;
    }

    /*表格*/
    .layuimini-table2card .layui-table-box {
        border: none;
    }

    .layuimini-table2card .layui-table-box .layui-table-header {
        display: none;
    }

    .layuimini-table2card .layui-table-box .layui-table-body .layui-table {
        display: block;
    }

    .layuimini-table2card .layui-table-box .layui-table-body .layui-table tbody {
        display: block;
    }

    .layuimini-table2card .layui-table-box .layui-table-body .layui-table tr {
        /*background-color: #f8f8f8;*/
        border-radius: 15px;
        padding: 15px;
        margin-bottom: 15px;
        display: block;
    }

    .layuimini-table2card .layui-table-box .layui-table-body .layui-table td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-right: 0;
        border-bottom: 1px solid #fff;
        min-height: 30px;
    }

    .layuimini-table2card .layui-table-box .layui-table-body .layui-table td .data-item {
        display: block;
    }

    .layuimini-table2card .layui-table-box .layui-table-body .layui-table td > div:first-child {
        flex: 1;
    }

    .layuimini-table2card .layui-table-box .layui-table-body .layui-table td > div:nth-child(2) {
        flex: 2;
    }

    .layuimini-table2card .layui-table-box .layui-table-body .layui-table td .layui-table-grid-down {
        display: none;
    }

    .layuimini-table2card .layui-table-box .layui-table-body .layui-table .layui-table-cell {
        width: auto;
        padding: 0;
        text-align: right;
    }

    .layuimini-table2card .layui-table-page {
        overflow: auto;
        height: 45px;
    }

    .layuimini-table2card .layui-table-page .layui-laypage-skip,
    .layuimini-table2card .layui-table-page .layui-laypage-limits {
        display: none;
    }
}

@media screen and (min-width: 768px) {
    /*列表*/
    .layuimini-table2card .layui-table-box .layui-table-main .layui-table td .data-item {
        display: none;
    }

    .layuimini-table2card .layui-table-page .layui-laypage-skip,
    .layuimini-table2card .layui-table-page .layui-laypage-limits {
        display: inline-block;
    }
}
